<%@ page contentType="application/xhtml+xml; charset=UTF-8" %>
<%@ page session="false"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="/WEB-INF/tld/my.tld" prefix="my" %>
<c:if test="${not empty pager and (not pager.first or not pager.last)}">
第${pager.currentPage}页/共${pager.totalPages}页<br/>
</c:if>
<c:if test="${not empty pager and not pager.last}">
<a href="${url}${p1}${baseLink}${p3}&amp;n=${pager.totalRows}&amp;ps=${pager.pageSize}&amp;p=${pager.next}&amp;go=${my:encode(param.go)}">下一页</a><br/>
</c:if>
<c:if test="${not empty pager and not pager.first}">
<a href="${url}${p1}${baseLink}${p3}&amp;n=${pager.totalRows}&amp;ps=${pager.pageSize}&amp;p=${pager.prev}&amp;go=${my:encode(param.go)}">上一页</a><br/>
</c:if>

<c:if test="${not empty pager and pager.totalPages gt 3}">
<form method="post" action="${url}${p1}${baseLink}${p3}&amp;n=${pager.totalRows}&amp;ps=${pager.pageSize}&amp;go=${my:encode(param.go)}">
查<input type="text" name="p" style="-wap-input-format: '*N'" value="${pager.currentPage}" size="4"/>
<input type="submit" value="页" class="button" />
</form>
</c:if>